package com.audaque.springboot.foshanupload.web.productdemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

  import java.time.*;
  import com.fasterxml.jackson.annotation.JsonFormat;
  import org.springframework.format.annotation.DateTimeFormat;
 import com.baomidou.mybatisplus.annotation.*;

import io.swagger.v3.oas.annotations.media.Schema;


import lombok.*;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 商品
 * </p>
 *
 * @author zgb
 * @since 2024-04-21
 */
@Data
@Getter
@Setter
@Schema(name = "Product", description = "商品")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    @Schema(description = "sku")
    private String sku;


    @Schema(description = "标题")
    private String title;


    @Schema(description = "描述")
    private String description;

}
